package com.ruoyi.web.shopping.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@ApiModel("商品折扣实体类")
public class Discounts implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("商品折扣id")
    private String id;

    @ApiModelProperty("商品价格id")
    private String priceId;

    @ApiModelProperty("商品折扣率")
    private double discount;

    @ApiModelProperty("商品删除状态")
    private String isDeleted;

    @ApiModelProperty("创建时间")
    private LocalDateTime createdTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updatedTime;

    @ApiModelProperty("更新人")
    private String updater;

    @ApiModelProperty("商品折扣名称")
    private String discountName;

}
